/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import '../../../styles/variables.less';

.filters-configuration-row {
  background-color: @white;
  border: 1px solid @border-color-1;
  border-radius: 10px;
  margin: 20px;
  margin-bottom: 24px;

  .filter-configuration-container {
    padding: 20px 16px;
    border: 1px solid @border-color-1;
    border-radius: 12px;
    background-color: @grey-15;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    min-height: auto;

    .add-filters-btn {
      color: @primary-heading-color;
      border: 1px solid @border-color-2;
      background-color: @blue-13;
      border-radius: 8px;

      &:hover,
      &:focus {
        color: @primary-heading-color;
        background-color: @blue-13;
        border-color: @border-color-2;
      }
    }

    .filter-option {
      flex-direction: row-reverse;
      border: 1px solid @border-color-2;
      border-radius: 8px;
    }

    .filter-value {
      border: 1px solid @border-color-3;
      border-radius: 8px;
    }
  }
}

.menu-items {
  max-height: 250px;
  overflow-y: auto;
}
